package com.ffggffgfv.backend.entity;

import java.util.Date;

/**
 * 货架实体类
 */
public class Shelf {

    private Long id;             // 主键ID
    private String name;         // 货架名称
    private String location;     // 货架位置描述
    private Integer capacity;    // 货架容量
    private Long merchantId;     // 所属商家ID
    private Integer status;      // 状态（0-停用 1-启用 2-维护中）
    private Date createTime;     // 创建时间
    private Date updateTime;     // 更新时间

    // Getter and Setter methods
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
